﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Search.ascx.cs" Inherits="Controls_Search" %>
    <table style="text-align:left; color:Gray;" cellpadding="2" cellspacing="2">
        <tr>
            <td>Tên sản phẩm:</td>
        </tr>
        <tr>
            <td>
                <asp:TextBox runat="server" ID="txtName" Width="180" />
            </td>
        </tr>        
        <tr>
            <td>Loại sản phẩm:</td>
        </tr>        
        <tr>
            <td>                
               <asp:DropDownList runat="server" Width="180" ForeColor="Gray" ID="ddlDepartment" DataSourceID="objAllDepartment" DataTextField="Title" DataValueField="ID" AppendDataBoundItems="true">
                    <asp:ListItem Selected="True" Value="0">Chọn Loại Sản Phẩm</asp:ListItem>
               </asp:DropDownList>
               <asp:ObjectDataSource runat="server" ID="objAllDepartment" TypeName="BLL.Store.Department" SelectMethod="ListDepartments">
               </asp:ObjectDataSource>
            </td>
        </tr>    
         <tr>
            <td align="center">
                <asp:Button runat="server" ID="btnSearch" Text="Tìm Kiếm" Width="100" BackColor="#757578" 
                    onclick="btnSearch_Click" BorderColor="#066DAB" BorderStyle="Solid" BorderWidth="1px"
                    Font-Bold="true"  ForeColor="#E67817"/>
            </td>
         </tr>
     </table>